/**
 * 监测日志模块 Api
 * @type {SlogMonitorLogApi}
 */
const slogMonitorLogApi = new class SlogMonitorLogApi extends BaseApi {
    constructor() {
        super('/api/slogMonitorLog')
    }

    /**
     * 获取快照
     * @param data
     * @returns {Promise<*>}
     */
    async getSnapshot(data) {
        return (await rxajax.get(super.using('/get/snapshot'), data)).data.data;
    }
}()